package com.itmake.sample.datascope.model.bo;

import java.util.List;

/**
 * 当前用户信息
 *
 * @author Amjacks
 * @since 2023/08/10
 */
public class ActiveUserBo {

    /**
     * 用户主键
     */
    private String userId;

    /**
     * 当前角色列表
     */
    private List<ActiveRoleBo> roles;

    /**
     * 是否是管理员
     */
    private boolean isAdmin;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public List<ActiveRoleBo> getRoles() {
        return roles;
    }

    public void setRoles(List<ActiveRoleBo> roles) {
        this.roles = roles;
    }

    public boolean isAdmin() {
        return isAdmin;
    }

    public void setAdmin(boolean admin) {
        isAdmin = admin;
    }
}
